package com.jack.charging.order.feign;

import com.jack.charging.common.pojo.JsonResult;
import com.jack.charging.common.pojo.vo.UserInfoVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


/**
 * @author Jack
 * @date 2025/2/10 09:43
 * @see
 * @since
 */
@FeignClient(name = "UserService")
public interface UserClient {
    @GetMapping(value = "/user/info/{userId}")
    JsonResult<UserInfoVO> getUserInfo(@PathVariable("userId") Integer userId);
}
